package com.kandinfo.base.security.dto;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import com.kandinfo.base.security.domain.UserRole;

public class UserDto implements Serializable {

    private static final long serialVersionUID = -616840925203168852L;

    private Long id;

    private String username;// 登陆账户,手机，指定账户，或者邮箱
    private String password;// 密码

    private int userType;
    private String email;
    private String oldPassword;
    private String newPassword;
    private String newConfirmPassword;
    private String roleIds;

    private String name;// 姓名

    private String mobile;// 手机号码
    private String avatarUrl;// 用户头像
    private Integer informationComplete;/* 录入信息已完成 0-未完成 1-已完成 */
    private String status;// 用户状态 (删除用)
    private String wxOpenId;/* 微信openId */

    private String groupName;
    private String roleName;

    List<UserRole> roleList = new ArrayList<UserRole>();

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getUserType() {
        return userType;
    }

    public void setUserType(int userType) {
        this.userType = userType;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getOldPassword() {
        return oldPassword;
    }

    public void setOldPassword(String oldPassword) {
        this.oldPassword = oldPassword;
    }

    public String getNewPassword() {
        return newPassword;
    }

    public void setNewPassword(String newPassword) {
        this.newPassword = newPassword;
    }

    public String getNewConfirmPassword() {
        return newConfirmPassword;
    }

    public void setNewConfirmPassword(String newConfirmPassword) {
        this.newConfirmPassword = newConfirmPassword;
    }

    public String getRoleIds() {
        return roleIds;
    }

    public void setRoleIds(String roleIds) {
        this.roleIds = roleIds;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getAvatarUrl() {
        return avatarUrl;
    }

    public void setAvatarUrl(String avatarUrl) {
        this.avatarUrl = avatarUrl;
    }

    public Integer getInformationComplete() {
        return informationComplete;
    }

    public void setInformationComplete(Integer informationComplete) {
        this.informationComplete = informationComplete;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getWxOpenId() {
        return wxOpenId;
    }

    public void setWxOpenId(String wxOpenId) {
        this.wxOpenId = wxOpenId;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public List<UserRole> getRoleList() {
        return roleList;
    }

    public void setRoleList(List<UserRole> roleList) {
        this.roleList = roleList;
    }

}
